package com.buercorp.wangyu.oop.interfacedemo02;

public class Text {
    public static void main(String[] args) {
        Frog frog = new Frog("小青",2);
        System.out.println(frog.getName() + frog.getAge());
        frog.eat();
        frog.swim();
    }
}
